package lab04.test03;

/**
 *一个线程打印“B”
 */
public class B implements Runnable {
    @Override
    public void run() {
        while(true) {
            System.out.println("B");
        }
    }
}




//            try {
//                Thread.sleep(2000);
//            } catch (InterruptedException e) {
//                e.printStackTrace();
//            }